package com.sim.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.sim.base.DaoSupportImpl;
import com.sim.domain.SocietyType;
import com.sim.service.SocietyTypeService;

@Service
@Transactional
@SuppressWarnings("unchecked")
public class SocietyTypeServiceImpl extends DaoSupportImpl<SocietyType> implements SocietyTypeService {

	public List<SocietyType> queryAll() {
		return getSession().createQuery(//
				"FROM SocietyType s")//
				.list();
	}

}
